package com.linewell.mongodemo.pojo;


public class LicenseState {

	/**
	 * 状态编码
	 */
	public final static int STATE[] = { 0, -1, 1, 2, 5, 11, -2, -3, -4, -5, 6, -6, -7, -8, -9, 7,-10, 12,13,4};

	/**
	 * 生成失败
	 */
	//public final static int MAKE_FAIL = 4;
	
	/**
	 * 状态中文信息
	 */
	public final static String STATE_NAME[] = { "创建", "退回", "送审核", "数据生成中", "待签章", "完成", "已注销", "已吊销", "已过期", "变更作废" ,"签章中", "变更中","年检中","年检作废","证明申请不通过","签章失败","签注中","未激活","冻结","生成失败"};

	/**
	 * 目录创建状态 0
	 */
	public final static int STATE_CREATE = STATE[0];

	/**
	 * 退回状态 -1
	 */
	public final static int STATE_RETREAT = STATE[1];

	/**
	 * 审核中状态 1
	 */
	public final static int STATE_AUDIT = STATE[2];

	/**
	 * 数据生成状态 2
	 */
	public final static int STATE_DATACREATE = STATE[3];

	/**
	 * 签章状态 5
	 */
	public final static int STATE_SIGN = STATE[4];
	/**
	 * 完成状态 11
	 */
	public final static int STATE_RELEASE = STATE[5];
	/**
	 * 已作废状态 -2
	 */
	public final static int STATE_CANCEL = STATE[6];
	/**
	 * 已吊销状态 -3
	 */
	public final static int STATE_REVOKE = STATE[7];
	/**
	 * 已过期状态 -4
	 */
	public final static int STATE_OVERDUE = STATE[8];
	/**
	 * 变更作废状态 -5
	 */
	public final static int STATE_CHANGE = STATE[9];
	/**
	 * 签章中状态 6
	 */
	public final static int SIGN_ING = STATE[10];
	/**
	 * 变更状态 -6
	 */
	public final static int STATE_ALRER = STATE[11];
	/**
	 * 年检状态 -7
	 */
	public final static int STATE_YEAR = STATE[12];
	/**
	 * 年检作废状态 -8
	 */
	public final static int STATE_YEARCANCEL = STATE[13];
	/**
	 * 证明申请不通过状态 -9
	 */
	public final static int STATE_NOT_THROUGH = STATE[14];
	/**
	 * 签章失败状态 7
	 * */
	public final static int SIGN_FAIL = STATE[15];
	
	/**
	 * 未激活状态（系统中发布的证照，需要在门户中激活后，才是发布状态）
	 * by xshuhui
	 * */
	public final static int NOT_Active = STATE[17];
	
	/**
	 * 冻结状态
	 * by xshuhui
	 * */
	public final static int STATE_FREEZE = STATE[18];
	
	/**
	 * 签注中状态 -10
	 * */
	public final static int VISA_IMG = STATE[16];
	
	/**
	 * 生成失败 4
	 */
	public final static int MAKE_FAIL = STATE[19];

}
